<template>
  <div class="error-page">
    <img src="error-image.png" alt="Error Image" class="error-image">
    <h1 class="error-title">Oops! Something went wrong.</h1>
    <p class="error-message">We are sorry, but an error has occurred. Please try again later.</p>
    <button class="error-button" @click="reloadPage">Reload Page</button>
  </div>
</template>

<script>
    export default {
      name: "Error",
      methods: {
        reloadPage() {
          window.location.reload();
        }
      }
    }
</script>

<style scoped>
.error-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.error-image {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
}

.error-title {
  font-size: 24px;
  color: #ff4500;
  margin-bottom: 10px;
}

.error-message {
  font-size: 16px;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

.error-button {
  padding: 10px 20px;
  background-color: #ff4500;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}
</style>
